package xdu.lz.stage2_design_pattern.chapter3_observer_pattern.observerApp1;

public class BinaryObserver extends Observer {

    public BinaryObserver(Subject subject){
        super(subject);
    }
    @Override
    public void update() {
        System.out.println("Binary String : "+Integer.toBinaryString(subject.getState()));
    }
}
